<?php

class Models_ParametersDiagnoses
        extends Zend_Db_Table_Abstract {

    protected $_name = 'ParametersDiagnoses';
    protected $_primary = array(
        'DiagnosisId',
        'ParameterId'
    );
    protected $_referenceMap = array(
        'Diagnosis' => array(
            'columns' => 'DiagnosisId',
            'refTableClass' => 'Models_Diagnoses',
            'refColumns' => 'DiagnosisId'
        ),
        'Parameters' => array(
            'columns' => 'ParameterId',
            'refTableClass' => 'Models_Parmaeters',
            'refColumns' => 'ParameterId'
        )
    );

}